package com.chen.service;

import com.chen.common.result.PageResult;
import com.chen.popj.dto.ProblemDTO;
import com.chen.popj.dto.ProblemPageQueryDTO;
import com.chen.popj.vo.ProblemListVO;


public interface ElasticSearchService {

    public PageResult<ProblemListVO> queryProblemListVOByTitle(String index, ProblemPageQueryDTO problemPageQueryDTO);

    PageResult<ProblemListVO> queryProblemListVOById(String index, ProblemPageQueryDTO problemPageQueryDTO);

    public void addProblem(ProblemDTO problemDTO);

}
